﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UtilZ.Dotnet.Ex.Communication.Net.Telnet.Commands
{
    /// <summary>
    /// TelnetCommand特性
    /// </summary>
    public class TelnetCommandAttribute : Attribute
    {
        /// <summary>
        /// 命令
        /// </summary>
        public string Command { get; private set; }

        /// <summary>
        /// 构造函数初始化
        /// </summary>
        /// <param name="command"></param>
        public TelnetCommandAttribute(string command)
        {
            this.Command = command;
        }
    }
}
